-- GENERATED SPELL FOR [Laughing Skull Warden] --


function spell0_17624(pUnit, Event) --@Battle Shout,Self--
pUnit:FullCastSpellOnTarget(30833,pUnit)
pUnit:RegisterEvent('Sorts_17624', 570, 1)
end

function Sorts_17624(pUnit, Event)
local choix_sorts_17624 = math.random(0, 0)
if choix_sorts_17624 == 0 then
pUnit:RegisterEvent('spell0_17624', 1, 1)
end
end

function mob17624_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17624', math.random(1500, 3000), 1)
end

function mob17624_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17624_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17624_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17624, 1, 'mob17624_Action')
RegisterUnitEvent(17624, 2, 'mob17624_Leave')
RegisterUnitEvent(17624, 3, 'mob17624_Kill')
RegisterUnitEvent(17624, 4, 'mob17624_Die')
